package com.dragon.modules.yuegou.excel.wallet;

import com.dragon.modules.media.annotations.ExcelSheet;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;
@com.dragon.modules.media.annotations.ExcelWorkbook(template = "classpath:\\excel\\wallet\\buy.xlsx")
public class BuyWorkbook {
	@ExcelSheet
	@JsonProperty("悦卡获取记录表")
	private List<MemberCardBuyRow> member;

	public static class MemberCardBuyRow {

		@JsonProperty("手机")
		private String mobile;
		
		@JsonProperty("悦卡名称")
		private String title;
		
		@JsonProperty("卡号")
		private String cardNo;

		@JsonProperty("悦卡面值")
		private BigDecimal amount;

		@JsonProperty("购买金额")
		private BigDecimal payFee;

		@JsonProperty("购买")
		private String recordType;

		@JsonProperty("类型")
		private String cardType;

		@JsonProperty("时间")
		private LocalDateTime createdTime;

		@JsonProperty("所属单位")
		private String companyName;

		public String getMobile() {
			return mobile;
		}

		public void setMobile(String mobile) {
			this.mobile = mobile;
		}

		public String getTitle() {
			return title;
		}

		public void setTitle(String title) {
			this.title = title;
		}

		public String getCardNo() {
			return cardNo;
		}

		public void setCardNo(String cardNo) {
			this.cardNo = cardNo;
		}

		public BigDecimal getAmount() {
			return amount;
		}

		public void setAmount(BigDecimal amount) {
			this.amount = amount;
		}

		public BigDecimal getPayFee() {
			return payFee;
		}

		public void setPayFee(BigDecimal payFee) {
			this.payFee = payFee;
		}

		public String getRecordType() {
			return recordType;
		}

		public void setRecordType(String recordType) {
			this.recordType = recordType;
		}

		public String getCardType() {
			return cardType;
		}

		public void setCardType(String cardType) {
			this.cardType = cardType;
		}

		public LocalDateTime getCreatedTime() {
			return createdTime;
		}

		public void setCreatedTime(LocalDateTime createdTime) {
			this.createdTime = createdTime;
		}

		public String getCompanyName() {
			return companyName;
		}

		public void setCompanyName(String companyName) {
			this.companyName = companyName;
		}
	}

	public List<MemberCardBuyRow> getMember() {
		return member;
	}

	public void setMember(List<MemberCardBuyRow> member) {
		this.member = member;
	}
}
